<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文章详情</title>
    <style>
        .div{
            border: 1px solid greenyellow;
        }
        .div1{
            width: auto;
            border: 1px solid blue;
            text-align: center;
        }
         .div2{

             width: 100%;
             height: 500px;
             border: 1px solid red;
         }
    </style>
</head>
<body>
<div class="div">
<div class="div1">{$article_title}</div>
<div class="div2">{$article_content}</div>
    <div>点赞数：（{$article_like}）</div>
    <div>发布时间：{$article_time|date="Y-m-d H:i",###}</div>
    <div>作者：{$user_name}</div>
</div>
</body>
</html>